package info

import (
	conf "my-systems/pet-system/configs"
	"my-systems/pet-system/internal/models"
)

func BuildUser(us *models.User) interface{} {
	data := []string{
		"Username : " + us.Username,
		"Avatar : " + conf.URLHost + conf.ServerPort + conf.AvatarPath + us.Avatar,
		"Phone : " + us.Phone,
		"Email : " + us.Email,
		"Address : " + us.Address,
		"Sex : " + us.Sex,
	}
	return data
}
